<template>
  <menuComp :menu="menu"></menuComp>
</template>
<script setup lang="ts">
import menuComp from '../components/menuComp.vue'

function handleCheckUpdates() {
  window.electron.ipcRenderer.invoke('check-updates')
}

const menu = {
  label: '帮助',
  children: [{ label: '检查更新', shortcutKey: '', click: handleCheckUpdates }]
}
</script>
<style lang="scss" scoped></style>
